lib: Add error prefixing for sysroot load and repo open
authorColin Walters <walters@verbum.org>
Sat, 28 Mar 2020 14:07:00 +0000 (14:07 +0000)
committerColin Walters <walters@verbum.org>
Sat, 28 Mar 2020 14:08:51 +0000 (14:08 +0000)
commit9cb148c9b960ddf704132aa3bf0ac6e2deaeefd5
tree0d4e686fb9029fba5a42619d94e1beb78c6c0857
parent7a9592986708446cceea0d72b55f2d3219d475aa
lib: Add error prefixing for sysroot load and repo open

Noticed this while writing tests for a core `ostree_sysroot_load()`
entrypoint.  And decided to do the same for `ostree_repo_open()`,
and while there also noted we had a duplicate error prefixing
for the open (more recently `glnx_opendirat()` automatically
prefixes with the path).
src/libostree/ostree-repo.c
src/libostree/ostree-sysroot.c